package com.ithhc.learning.adapter;

/**
 * @Author 洪小才
 * @Description
 * @Date Created in 10:12  2018-06-28
 * @Modified By
 **/
public class SmallToBig implements BigPort {

    private SmallPort smallPort;

    public SmallToBig(SmallPort smallPort) {
        this.smallPort = smallPort;
    }

    @Override
    public void useBigPort() {
        this.smallPort.useSmallPort();
    }
}
